package com.fengchao.model.entity.comm;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.Map;

/**
 * api响应
 * Created by wangnian on 2016/6/3.
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ResponseParameter {
    private String status;
    private String message;
    private Map<Object, Object> data;

    public ResponseParameter(String status, String message) {
        this.status = status;
        this.message = message;
    }

    public ResponseParameter() {
    }

    public ResponseParameter(String status, String message, Map<Object, Object> data) {
        this.status = status;
        this.message = message;
        this.data = data;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Map<Object, Object> getData() {
        return data;
    }

    public void setData(Map<Object, Object> data) {
        this.data = data;
    }
}
